#include <stdio.h>
#include "libtrafficgen.h"

int main(int argc, char** argv){

	if (argc != 2) {
		printf("I need an interface\n");
		return -1;
	}
	
	printf("Sending a dhcp requests .... \n");
	if (send_dhcp_request(argv[1])) {
		return -1;
	}
	
	printf("Sending broadcasting pings .... \n");
	if (send_icmp_broadcast_class_C(argv[1]))
		return -2;
		
	printf("Sending arp requests .... \n");
	if (send_arp_class_C(argv[1]));
		return -3;
		
	print("Done");
	return 0;
}
